// JavaScript Document


function  banner_go(){
							
						var linums=$("#banner li").length;
						var li_i=0;
						var li_ii=0;				
						function mingjuan(){
								li_i=li_i%linums;
								li_ii=(li_i+1)%linums;
								$("#banner li").eq(li_i).fadeOut(500);
								$("#banner li").eq(li_ii).fadeIn(500);
								li_i=li_i+1;
							}
							
						var myinterval=setInterval(mingjuan,4000);
						
						$("#leftBtn").click(function(){
							clearInterval(myinterval);
							mingjuan();
							myinterval=setInterval(mingjuan,4000);
						})
						$("#rightBtn").click(function(){
								clearInterval(myinterval);
								mingjuan();
								myinterval=setInterval(mingjuan,4000);
						})
					
							
							
}